isHome
(11 actions, 7 KB)
0 Run Shortcut
isOnline?
»
Workflow
:
{ "workflowIdentifier": "9C48945F-7E22-4EFA-9334-61777791A46C", "workflowName": "isOnline?", "isSelf": false }
1 If
[0 Shortcut Result
as Boolean
]
is true
2 DataJar > GetValueIntent »
keyPath
:
My Data
3 Get Distance »
GetDirectionsCustomLocation
:
{ "isCurrentLocation": true }
GetDistanceDestination
:
[2 Value
as Dictionary.Home Address
]
4 If
[3 Distance]
<
10
5 Text
Yes
6 Otherwise
7 Text
No
8 End If
9 End If ▵
1
»
10 Stop and Output
[9 If Result]